<?php

namespace App\Handlers;

use GuzzleHttp\Client;


class ApiHelper
{
    public static function post($body, $uri)
    {

        $client = new Client();

        $response = $client->post($uri, [
            'json' => $body
        ]);

        return $response->getBody()->getContents();
    }
}